package com.market.entity;

import lombok.Data;

import java.sql.Timestamp;
import java.sql.Date;

@Data
public class User {
    private Long id;
    private String userCode;
    private String userName;
    private String userPassword;
    private String salt;
    private Integer status;
    private Integer gender;
    private Date birthday;
    private String phone;
    private String address;
    private String headUrl;
    private Integer userRole;
    private Long createdBy;
    private Timestamp creationDate;
    private Long modifyBy;
    private Timestamp modifyDate;

    //一对一查询
    private Role role;


}
